--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit 4ba88127cee87faedbb6c9c0e95d374edd9ccafa
Parents : ce6b765
Author : Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-04-23T02:30:25-05:00
feat(build): add new build script for fetching repository wheels and update build process to include it
Changes
Diff
diff --git a/package.json b/package.json
index 344d6319..3f4f9cb4 100644
--- a/package.json
+++ b/package.json
@@ -14,8 +14,9 @@
"build-frontend": "vite build",
"build-backend": "node scripts/build-backend.js",
"build-docs": "python3 scripts/build/fetch_reticulum_manual.py",
+ "build-repository-wheels": "python3 scripts/build/fetch_repository_wheels.py",
"version:sync": "node scripts/sync_version.js",
- "build": "pnpm run version:sync && pnpm run build-frontend && pnpm run build-docs && pnpm run build-backend",
+ "build": "pnpm run version:sync && pnpm run build-frontend && pnpm run build-docs && pnpm run build-repository-wheels && pnpm run build-backend",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
@@ -23,6 +24,7 @@
"test:coverage": "vitest run --coverage --exclude tests/frontend/LoadTimePerformance.test.js && vitest run --config vitest.electron.config.js --coverage",
"test:fuzz": "vitest run -t fuzzing",
"test:watch": "vitest --exclude tests/frontend/LoadTimePerformance.test.js",
+ "test:i18n": "vitest run tests/frontend/i18n.test.js",
"test:loadtime": "vitest run tests/frontend/LoadTimePerformance.test.js",
"test:ui": "vitest --ui --open --exclude tests/frontend/LoadTimePerformance.test.js",
"test:e2e": "playwright test",
diff --git a/pyproject.toml b/pyproject.toml
index 216586a2..62edff2a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -40,6 +40,7 @@ dependencies = [
[project.scripts]
meshchatx = "meshchatx.meshchat:main"
meshchat = "meshchatx.meshchat:main"
+meshchatx-repository-http = "meshchatx.repository_http_standalone:main"
[project.urls]
Homepage = "https://git.quad4.io/RNS-Things/MeshChatX"
@@ -67,11 +68,13 @@ pytest-xdist = "^3.8.0"
[[tool.poetry.include]]
path = "logo"
-[tool.setuptools]
-packages = {find = {}}
+[tool.setuptools.packages.find]
+where = ["."]
+include = ["meshchatx*"]
+namespaces = false
[tool.setuptools.package-data]
-meshchatx = ["public/**/*", "public/*", "src/backend/data/community_interfaces.json", "src/backend/data/licenses_frontend.json", "src/backend/data/THIRD_PARTY_NOTICES.txt"]
+meshchatx = ["public/**/*", "public/*", "src/backend/data/community_interfaces.json", "src/backend/data/licenses_frontend.json", "src/backend/data/THIRD_PARTY_NOTICES.txt", "src/frontend/public/repository-server-index.html"]
[build-system]
requires = ["setuptools>=65.0", "wheel"]
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────